<template>
  <div>
    <div v-if="platformId=='17f8c48dd97EEKbHVTe'||platformId=='18346b84774rxbnjici'||platformId=='18346b2b6ffaqOkGZgs'">
      <su-zhou v-if="platformId=='17f8c48dd97EEKbHVTe'"></su-zhou>
      <airport v-if="platformId=='18346b84774rxbnjici'||platformId=='18346b2b6ffaqOkGZgs'"></airport>
    </div>

    <num-four v-else></num-four>

  </div>
</template>

<script>
import SuZhou from "./suzhou/index"
import Airport from "./airport/index"
import NumFour from "./hospital/index"
export default {
  name: "warningDevice",
  components: {
    SuZhou,
    Airport,
    NumFour
  },
  data() {
    return {
      platformId: null
    };
  },
  mounted() {
    if (this.$route.query.platformId) {
      this.platformId = this.$route.query.platformId;
    } else {
      var selectProject = JSON.parse(localStorage.getItem('selectProject'));
      this.platformId = selectProject.id;
    }
  },
  methods: {

  }
};
</script>
